{% extends "base.html" %}
{% load i18n %}

{% block content_title %}
<h1>{% trans "FTB Files" %}</h1>
{% endblock %}

{% block breadcrumbs %}
<div class="breadcrumbs">
<a href="/">{% trans "Home" %}</a> &rsaquo; 
<a href="/files/">{% trans "Files" %}</a> 
</div>
{% endblock %}

{% block content %}
<div class="content-main">
    <div class="module">
        <table>
            <caption>Files</caption>
            {% for afile in files %}
                <tr>
                    <th><a href="./{{ afile.name }}/">{{ afile.name }}</a></th>
                    <td><a href="./{{ afile.name }}/text/">{% trans "Text view" %}</a></th>
                    <td><a href="./{{ afile.name }}/pos/">{% trans "Parts of speech" %}</a></td>
                    <td><a href="./{{ afile.name }}/xml/">{% trans "Source" %}</a></td>
                    <td><a href="./{{ afile.name }}/raw/">{% trans "Raw file" %}</a></td>
                </tr>
            {% endfor %}
        </table>
    </div>
</div>
{% endblock %}
